View Issue Details

IDProjectCategoryView StatusLast Update
0001608T99X171.00 SKB EaglexTS certificationpublic2023-02-23 16:41
Reporter(SW) Jerry Lin Assigned To(ALTech) Younkwang Jung Due Date
PrioritynormalSeveritys4-minorReproducibilityalways
Status closedResolutionfixed 
Summary0001608: [Smart3][ATV12] HDMI-CEC test for CTS
DescriptionHi YK,

We found some HDMI-CEC test cases can not be pass.
Test case 1: android.hdmicec.cts.common.HdmiCecPowerStatusTest#cect_hf4_6_10_userControlPressed_powerOff

I use the following steps to check the result:
1. "dumpsys power | grep mWakefulness="
2. The result of the test case must be "mWakefulness= Asleep"

We can remove some code to pass this case.
Please ask SPTek to check.
And i also upload diff file that is modified by me.

Jerry
TagsNo tags attached.
Attach Tags

Users monitoring this issue

Activities

(SW) Jerry Lin

2023-01-16 13:32

developer  

remove.png (392,342 bytes)

(ALTech) Younkwang Jung

2023-01-16 13:54

developer   ~0011796

Hi Jerry

To check again,
This test result will be passed if only "return true;" marked with red mark is removed
is it correct?

Thank you
YK.Jung

(SW) Jerry Lin

2023-01-16 14:14

developer   ~0011798

Hi YK,
Yes ,

Jerry

(SW) Jerry Lin

2023-01-19 17:55

developer   ~0011840

Hi YK,
The attached file is our test report for CEC.
The following items can retry and test passed.
1. android.hdmicec.cts.common.HdmiCecStartupTest#cectVerifyStartupMessages_Cec14b
2. android.hdmicec.cts.playback.HdmiCecRemoteControlPassThroughTest#cect_11_2_13_2_UserControlPressAndHold
3. android.hdmicec.cts.playback.HdmiCecTvPowerToggleTest#cectTvPowerToggleTest_asleep_tvOff
4. android.hdmicec.cts.playback.HdmiCecTvPowerToggleTest#cectTvPowerToggleTest_asleep_tvOn

The following items need to change SKBLauncher to TVLauncher and test passed.
1. android.hdmicec.cts.common.HdmiCecSystemStandbyTest#cect_HandleBroadcastStandby
2. android.hdmicec.cts.common.HdmiCecSystemStandbyTest#cect_HandleAddressedStandby


Jerry
test_result_failures_suite.html (6,206 bytes)   
<html>
    <head>
        <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Test Report</title>
        <style type="text/css">
                    @import "compatibility_result.css";
                </style>
    </head>
    <body>
        <div>
            <table class="title">
                <tr>
                    <td align="left"><img src="logo.png"></td>
                </tr>
            </table>
        </div>
        <div>
            <table class="summary">
                <tr>
                    <th colspan="2">Summary</th>
                </tr>
                <tr>
                    <td class="rowtitle">Suite / Plan</td><td>CTS / cts</td>
                </tr>
                <tr>
                    <td class="rowtitle">Suite / Build</td><td>12_r6 / 9265137</td>
                </tr>
                <tr>
                    <td class="rowtitle">Host Info</td><td>
                                Result/@start
                                cts-server
                                (Linux - 5.15.0-58-generic)
                            </td>
                </tr>
                <tr>
                    <td class="rowtitle">Start time / End Time</td><td>週三 1月 18 15:14:04 TST 2023 /
                                週三 1月 18 15:39:37 TST 2023</td>
                </tr>
                <tr>
                    <td class="rowtitle">Tests Passed</td><td>36</td>
                </tr>
                <tr>
                    <td class="rowtitle">Tests Failed</td><td>6</td>
                </tr>
                <tr>
                    <td class="rowtitle">Modules Done</td><td>1</td>
                </tr>
                <tr>
                    <td class="rowtitle">Modules Total</td><td>1</td>
                </tr>
                <tr>
                    <td class="rowtitle">Fingerprint</td><td>SKB/BFX_AT100/BFX-AT100:12/STTC.220724.001/k000c-534r215-20230118:userdebug/release-keys</td>
                </tr>
                <tr>
                    <td class="rowtitle">Security Patch</td><td>2022-12-01</td>
                </tr>
                <tr>
                    <td class="rowtitle">Release (SDK)</td><td>12 (31)
                            </td>
                </tr>
                <tr>
                    <td class="rowtitle">ABIs</td><td>armeabi-v7a,armeabi</td>
                </tr>
            </table>
        </div>
        <br>
        <div>
            <table class="testsummary">
                <tr>
                    <th>Module</th><th>Passed</th><th>Failed</th><th>Assumption Failure</th><th>Ignored</th><th>Total Tests</th><th>Done</th>
                </tr>
                <tr>
                    <td><a href="#armeabi-v7a%C2%A0CtsHdmiCecHostTestCases">armeabi-v7a&nbsp;CtsHdmiCecHostTestCases</a></td><td>36</td><td>6</td><td>30</td><td>12</td><td>84</td><td>true</td>
                </tr>
            </table>
        </div>
        <br>
        <div>
            <table class="testdetails">
                <tr>
                    <td class="module" colspan="3"><a name="armeabi-v7a%C2%A0CtsHdmiCecHostTestCases">armeabi-v7a&nbsp;CtsHdmiCecHostTestCases</a></td>
                </tr>
                <tr>
                    <th width="30%">Test</th><th width="5%">Result</th><th>Details</th>
                </tr>
                <tr>
                    <td class="testname">android.hdmicec.cts.common.HdmiCecStartupTest#cectVerifyStartupMessages_Cec14b</td><td class="failed">
                        <div style="text-align: center; margin-left:auto; margin-right:auto;">fail</div>
                    </td><td class="failuredetails">
                        <div class="details">Unexpected messages sent by the device</div>
                    </td>
                </tr>
                <tr>
                    <td class="testname">android.hdmicec.cts.common.HdmiCecSystemStandbyTest#cect_HandleBroadcastStandby</td><td class="failed">
                        <div style="text-align: center; margin-left:auto; margin-right:auto;">fail</div>
                    </td><td class="failuredetails">
                        <div class="details">value of: trim()</div>
                    </td>
                </tr>
                <tr>
                    <td class="testname">android.hdmicec.cts.common.HdmiCecSystemStandbyTest#cect_HandleAddressedStandby</td><td class="failed">
                        <div style="text-align: center; margin-left:auto; margin-right:auto;">fail</div>
                    </td><td class="failuredetails">
                        <div class="details">value of: trim()</div>
                    </td>
                </tr>
                <tr>
                    <td class="testname">android.hdmicec.cts.playback.HdmiCecRemoteControlPassThroughTest#cect_11_2_13_2_UserControlPressAndHold</td><td class="failed">
                        <div style="text-align: center; margin-left:auto; margin-right:auto;">fail</div>
                    </td><td class="failuredetails">
                        <div class="details">value of       : getLog(...)</div>
                    </td>
                </tr>
                <tr>
                    <td class="testname">android.hdmicec.cts.playback.HdmiCecTvPowerToggleTest#cectTvPowerToggleTest_asleep_tvOff</td><td class="failed">
                        <div style="text-align: center; margin-left:auto; margin-right:auto;">fail</div>
                    </td><td class="failuredetails">
                        <div class="details">java.lang.Exception: Could not find message GIVE_POWER_STATUS</div>
                    </td>
                </tr>
                <tr>
                    <td class="testname">android.hdmicec.cts.playback.HdmiCecTvPowerToggleTest#cectTvPowerToggleTest_asleep_tvOn</td><td class="failed">
                        <div style="text-align: center; margin-left:auto; margin-right:auto;">fail</div>
                    </td><td class="failuredetails">
                        <div class="details">java.lang.Exception: Could not find message STANDBY</div>
                    </td>
                </tr>
            </table>
        </div>
        <br>
    </body>
</html>

(ALTech) Younkwang Jung

2023-01-25 09:56

developer   ~0011850

Hi Jerry

I reported it to SPTEK

https://mantis.cnsbg.foxconn.com/vaas/view.php?id=1608#c11796
https://jira.skbroadband.com/browse/FSTB12-55

https://mantis.cnsbg.foxconn.com/vaas/view.php?id=1608#c11840
https://jira.skbroadband.com/browse/FSTB12-68

Thank you
YK.Jung

(SW) Jason Ling

2023-02-06 11:32

developer   ~0012012

Hi YK,

When can SPTEK fix it ?

Thanks,
Jason

(ALTech) Younkwang Jung

2023-02-08 10:36

developer   ~0012056

Hi Jason

SPTEK fixed it , please check it

Thank you
YK.Jung

(SW) Jerry Lin

2023-02-08 20:03

developer   ~0012072

Last edited: 2023-02-08 20:11

Hi YK,
These are my test results, the latest modification does not solve the CEC problems.
Please ask SPtek to check again.

Jerry.

(ALTech) Younkwang Jung

2023-02-09 08:25

developer   ~0012075

Hi Jerry

Looking at the attached file, there seems to be no problem after login.
Is it possible to proceed with the Google test after login only for this test?

It is difficult to fully support before login.

Thank you
YK.Jung

(SW) Jerry Lin

2023-02-09 10:05

developer   ~0012079

Hi YK,
The current CEC test that can pass does not contain the latest modification of SPtek.
But there are my modifications added.( https://mantis.cnsbg.foxconn.com/vaas/view.php?id=1608#c11796 )
That was the test result on February 6th.
Anyway,I retested against the latete version today.

Jerry

(ALTech) Younkwang Jung

2023-02-09 15:51

developer   ~0012094

Hi Jerry

There is a side effect in the CEC patchs of SPTEK, so it has all been reverted.

 frameworks/base changed from f6a7e8cb68dcfa579bcb72a5fb32555429cf8fa9 to BFX-AT100_5.3.7
                [+] Thu Feb 9 13:31:25 2023 +0900 | april4th@sptek.co.kr | 5e98f29d7f43 | Revert "[BTF-727] FSTB12-55 (CTS의 CEC 관련 테스트 Fail) 관련, MW에서 수동대기모드 진입 없이 테스트 pass

so please put this test on hold

I'll let you know if there's an update.

Thank you
YK.Jung

(ALTech) Younkwang Jung

2023-02-22 14:24

developer   ~0012307

Hi Jerry

Please test this function with v15.537.14 version that will be built today.

Thank you
YK.Jung

(SW) Jerry Lin

2023-02-23 11:16

developer   ~0012335

Hi YK,
all CEC-related tests test passed with v15.537.14.
one failed item became pass when retried.
android.hdmicec.cts.playback.HdmiCecTvPowerToggleTest#cectTvPowerToggleTest_asleep_tvOff

PS: We did not log in to the SKB account and enabled the CEC function through secret techniques.

Jerry

(ALTech) Younkwang Jung

2023-02-23 12:27

developer   ~0012337

Hi Jerry

Then I will understand that there are no fail items related to CEC at v15.537.14

Thank you for your confirmation.
YK.Jung

Issue History

Date Modified Username Field Change
2023-01-16 13:32 (SW) Jerry Lin New Issue
2023-01-16 13:32 (SW) Jerry Lin Status new => assigned
2023-01-16 13:32 (SW) Jerry Lin Assigned To => (ALTech) Younkwang Jung
2023-01-16 13:32 (SW) Jerry Lin File Added: remove.png
2023-01-16 13:34 (SW) Jerry Lin Issue Monitored: (SW) Jerry Lin
2023-01-16 13:34 (SW) Jerry Lin Issue End Monitor: (SW) Jerry Lin
2023-01-16 13:36 (ALTech) Younkwang Jung Issue Monitored: (ALTech) SY Yoon
2023-01-16 13:36 (ALTech) Younkwang Jung Issue Monitored: (ALTech) JunGyu Kim
2023-01-16 13:36 (ALTech) Younkwang Jung Issue Monitored: (ALTech) Younkwang Jung
2023-01-16 13:54 (ALTech) Younkwang Jung Note Added: 0011796
2023-01-16 14:14 (SW) Jerry Lin Note Added: 0011798
2023-01-16 18:15 (SW) Jason Ling Severity s3-moderate => s4-minor
2023-01-16 18:15 (SW) Jason Ling Category SW Issue => xTS certification
2023-01-16 18:15 (SW) Jason Ling Issue Monitored: (SW) Jason Ling
2023-01-16 18:15 (SW) Jason Ling Issue Monitored: (SW) Kerwin Chen
2023-01-19 17:55 (SW) Jerry Lin Note Added: 0011840
2023-01-19 17:55 (SW) Jerry Lin File Added: test_result_failures_suite.html
2023-01-25 09:56 (ALTech) Younkwang Jung Note Added: 0011850
2023-02-03 15:04 (SW) Jason Ling Summary HDMI-CEC test for CTS => [Smart3][ATV12] HDMI-CEC test for CTS
2023-02-06 11:32 (SW) Jason Ling Note Added: 0012012
2023-02-08 10:36 (ALTech) Younkwang Jung Note Added: 0012056
2023-02-08 20:03 (SW) Jerry Lin Note Added: 0012072
2023-02-08 20:03 (SW) Jerry Lin File Added: 2023.02.08_18.16.47_cec_fail_no_login.7z
2023-02-08 20:03 (SW) Jerry Lin File Added: 2023.02.06_18.30.00_cec_pass.7z
2023-02-08 20:04 (SW) Jerry Lin Note Edited: 0012072
2023-02-08 20:11 (SW) Jerry Lin Note Edited: 0012072
2023-02-09 08:25 (ALTech) Younkwang Jung Note Added: 0012075
2023-02-09 10:05 (SW) Jerry Lin Note Added: 0012079
2023-02-09 15:51 (ALTech) Younkwang Jung Note Added: 0012094
2023-02-22 14:24 (ALTech) Younkwang Jung Note Added: 0012307
2023-02-23 11:16 (SW) Jerry Lin Note Added: 0012335
2023-02-23 12:27 (ALTech) Younkwang Jung Note Added: 0012337
2023-02-23 15:15 (SW) Jason Ling Status assigned => resolved
2023-02-23 15:15 (SW) Jason Ling Resolution open => fixed
2023-02-23 16:41 (SW) Jason Ling Status resolved => closed